package view.mediator.monster.large_monster
{
	import model.monster.MonsterModel;
	
	import org.robotlegs.mvcs.StarlingMediator;
	
	import view.component.monster.large_monster.LMDetailAttackView;
	
	
	/**
	 * LMDetailAttackView界面中介
	 * @author £iang
	 * 
	 */	
	public class LMDetailAttackViewMediator extends StarlingMediator
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		/** LMDetailAttackView界面 */
		[Inject]
		public var lMDetailAttackView:LMDetailAttackView;
		/** monsterModel */
		[Inject]
		public var monsterModel:MonsterModel;
		
		//-----------------------------
		// properties
		//-----------------------------
		
		//-----------------------------
		// setter&getter
		//-----------------------------
		
		//-----------------------------
		// methods
		//-----------------------------
		
		/**
		 * 注册函数 
		 * 
		 */		
		override public function onRegister():void
		{
			lMDetailAttackView.setListData( monsterModel.curLMonsterAttackData );
		}
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		/**
		 * 移除函数 
		 * 
		 */		
		override public function onRemove():void
		{
			super.onRemove();
		}
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function LMDetailAttackViewMediator()
		{
			super();
		}
	}
}